/**
 * 业务实体配置常量
 * @description 包含变电站、线路、杆塔等业务实体配置
 */

import designSubStation from '@/assets/images/map-POI-变电站02-默认.png';
import constructionSubStation from '@/assets/images/map-POI-变电站01-默认.png';

// 变电站常量配置
export const SUBSTATION_CONFIG = {
  // 变电站图标
  ICONS: {
    DESIGN: designSubStation,        // 设计变电站图标
    CONSTRUCTION: constructionSubStation  // 施工变电站图标
  },
  // 变电站矢量颜色
  COLORS: {
    DESIGN: '#E56133',      // 设计变电站颜色（橙色）
    CONSTRUCTION: '#4354BB'  // 施工变电站颜色（蓝色）
  },
  // 变电站类型
  TYPES: {
    DESIGN: 1,        // 设计阶段
    CONSTRUCTION: 2   // 施工阶段
  }
};

// 敏感区颜色配置
export const SENSITIVE_AREA_CONFIG = {
  // 敏感区颜色样式定义
  COLORS: [
    {color: 'rgba(250,50,57,1)', opacity: .6, label: '生态保护红线'},
    {color: 'rgba(255,235,0,1)', opacity: .6, label: '国家公园'},
    {color: 'rgba(16,150,66,1)', opacity: .6, label: '自然保护区'},
    {color: 'rgba(73,255,210,1)', opacity: .6, label: '自然公园'},
    {color: 'rgba(255,119,0,1)', opacity: .6, label: '风景名胜区'},
    {color: 'rgba(255,206,118,1)', opacity: .6, label: '世界文化和自然遗产地'},
    {color: 'rgba(31,208,255,1)', opacity: .6, label: '饮用水水源保护区'},
    {color: 'rgba(0,138,255,1)', opacity: .6, label: '重要湿地'},
    {color: 'rgba(255,59,255,1)', opacity: .6, label: '文物保护区'},
    {color: 'rgba(115,73,255,1)', opacity: .6, label: '水产种质资源保护区'},
  ]
};
